//
//  IAQuestionListCell.h
//  VoiceClass
//
//  Created by caoxiaobo on 2018/1/11.
//  Copyright © 2018年 YRX. All rights reserved.
//

#import <UIKit/UIKit.h>

@class IASubjectItem;
@class IAStudent;

@interface IAQuestionListItem : NSObject

@property (nonatomic, strong) IASubjectItem *subjectItem;

@property (nonatomic, strong) NSArray <IAStudent *> *students;
@property (nonatomic, strong) NSArray <NSString *> *names;
@property (nonatomic, strong) NSArray <NSNumber *> *rates;

@property (nonatomic, strong, readonly) NSArray <UIColor *> *colors;
@property (nonatomic, assign, readonly) CGRect questionFrame;
@property (nonatomic, assign, readonly) CGRect answerFrame;
@property (nonatomic, assign, readonly) CGRect barLabelFrame;
@property (nonatomic, assign, readonly) CGRect barChartFrame;
@property (nonatomic, assign, readonly) CGRect bottomLineFrame;

@property (nonatomic, assign, readonly) CGFloat cellHeight;

@end

@interface IAQuestionListCell : UITableViewCell

@property (nonatomic, strong) IAQuestionListItem *item;

@end
